package task08;

public class VIPUniversity extends  University {
    void enter(){
        if(math+chinese+english+sport>=290){
            double x;
            x=math+chinese+english+sport;
            System.out.println("恭喜！4门课总分为："+x+"，达到重点大学录取线”");
        }  else{
            System.out.println("您未被重点大学录取！");
        }
    }

}
